package com.css.fxfzfxqh.modules.buildings.probabilityEvaluation.publicOperate.vo;

import com.google.common.collect.HashBasedTable;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author Dbj
 * @date 2023年09月07日  17:03
 */
@Data
public class PsHazardDataValueVO {
    private String kilometerGridId;
    private List<String> values;
    private List<BigDecimal> fvalues;

    public static void main(String[] args) {
        com.google.common.collect.Table employeeTable =  HashBasedTable.create();
        employeeTable.put("IBM", "101","Mahesh");
        employeeTable.put("IBM", "101","Ramesh");
        employeeTable.put("IBM", "103","Suresh");

        employeeTable.put("Microsoft", "111","Sohan");
        employeeTable.put("Microsoft", "112","Mohan");
        employeeTable.put("Microsoft", "113","Rohan");

        employeeTable.put("TCS", "121","Ram");
        employeeTable.put("TCS", "122","Shyam");
        employeeTable.put("TCS", "123","Sunil");
        Map<String,String> ibmEmployees =  employeeTable.row("IBM");
        for (Map.Entry<String, String> entry : ibmEmployees.entrySet()) {
            System.out.println("Emp Id: " + entry.getKey() + ", Name: " + entry.getValue());
        }
    }
}
